package chips440.tiles;

import chips440.internals.Player;
import chips440.main.Types;

/**
 * This tile signals to the engine that the player reached the end of the
 * level. The engine decides if the conditions for winning have been met and
 * acts accordingly. Image for this tile is "end.gif"
 *
 * @author Ryan Hofler
 * @version 0.1
 */
public class EndTile extends Tile{
    /**
     * Make a new tile to end the game.
     */
    public EndTile(){
	this.image = "end";
    }

    public Types.TileAct okToStep(Player player){
        return Types.TileAct.END;
    }
}
